package co.fitstart.entity.market.satisfaction;

import com.demo2do.core.utils.Alias;

/**
 * 满意度调查-教练应该提供的服务
 * @author haiyan_xiao
 *
 */
@Alias("coachService")
public enum CoachService {

    CONTRAST_PHOTO("contrast_photo", "拍摄入营结营对比照"),

    EFFECT_ENSURE("effect_ensure", "周期服务效果保证"),

    INBODY("inbody", "定期测量inbody数据"),

    ONLINE_SERVICE("online_service", "时刻主动提供线上服务");

    private String alias;

    private String description;

    private CoachService(String alias, String description) {
        this.alias = alias;
        this.description = description;
    }

    public static CoachService ordinalOf(int ordinal) {
        for (CoachService coachService : CoachService.values()) {
            if (coachService.ordinal() == ordinal) {
                return coachService;
            }
        }
        
        return null;
    }

    /**
     * @return the alias
     */
    public String getAlias() {
        return alias;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }
}
